package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.entity.ProductDispatchWork;
import com.wing.product.model.response.ProductDispatchWorkUserVO;
import com.wing.product.model.response.ProductDispatchWorkVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 派工相关业务
 */
@Mapper
public interface ProductDispatchWorkDao extends BaseMapper<ProductDispatchWork> {

    List<ProductDispatchWorkUserVO> selPostUserList(@Param("postId") String postId);

    List<ProductDispatchWorkVO> selDispatchListInfo(@Param("page") Page<ProductDispatchWorkVO> page, @Param("params") Map<String, Object> params);

}
